Findbugs is a popular open source tool that performs static analysis on Java ™ byte code to find common programming errors. Findbugs是一个流行的开放源代码工具,它对Java™字节代码执行静态分析以查找常见编程错误。
However, Scala compiles to Java byte code, but this is not some kind of emulated wrapper code, like you see with many dynamic languages that run on the JVM. 尽管Scala编译为Java字节码,但是与在JVM上运行的许多动态语言不同,它并不是某种包装器代码。
IRAD uses a technology known as Byte Code Insertion to manage the interaction between your self-created probes and the underlying code of your application. IRAD使用了一个称之为字节码插入(ByteCodeInsertion)的技术来管理你自己定制的探针和你的程序的代码之间的互动。
Its static analysis analyzes source code and byte code, is pattern-based as well as flow-and path-based, and is capable of finding rule violations that cross methods, classes, and packages. 其静态分析功能分析源代码和字节代码,基于模式以及基于流和基于路径,并且能够跨方法、类和包查找违规行为。
Hence, the very first request to a JSP is typically slow due to the two subsequent conversions ( from JSP to Java source to byte code), but then it works like any other servlet for all future requests. 因此,由于后续的两次转换(从JSP到Java源再到字节代码),第一次请求时通常比较缓慢,但对于之后的所有请求,JSP将同任何其他Servlet一样工作。
JRuby is a project that allows Ruby code to compile to Java byte code. JRuby项目可以将Ruby代码编译为Java字节码。
Since many JSPs might be included into others at compile time, the resulting Java source and servlet byte code files can potentially be very large. 由于编译时可能会将很多JSP包含到其他JSP中,所得的Java源代码和Servlet字节代码文件可能会非常大。
This results in solutions that are poorly performing, or involve technologies or techniques that are unsuitable for many production environments such as JVMPI agents or byte code insertion. 这会导致解决方案的性能低下,或涉及不适合于许多生产环境(如JVMPI代理或字节代码插入)的技术或技巧。
It has minimal performance impact and does not require the attachment of additional agents or use byte code insertion. 它最大限度地减少了对性能的影响,并且不需要附带其他代理或使用字节代码插入。
For the performance tests, I hand wrote the code that would normally be added through byte code enhancement and ran it using the then-current version of the JiBX runtime. 为了性能测试,我手工编写了代码,通常通过字节代码增强添加该代码,并使用JiBX运行时的当时版本来运行它。
Upon the very first access to a JSP file, the file is parsed and translated into a regular Java servlet source file, which is then compiled into byte code. 在第一次访问JSP文件时,将对文件进行分析,将其转换为常规JavaServlet源文件,该源文件将随后编译为字节代码。
This includes how JiBX maps Java objects to XML, along with the byte code enhancement process JiBX uses at build time to minimize runtime overhead. 这包括JiBX如何将Java对象映射到XML,以及JiBX为最小化运行时开销而在构建时使用的字节代码增强过程。
In this case, I am instructing the Weaver to alter classes found in the target/ classes directory and write the resulting byte code back into the same directory. 在这个例子中,我让Weaver更改target/classes字典中的类,并将生成的字节码写回到该字典。
It also allows us to perform extensive optimizations during deployment, potentially scanning byte code and optimizing code paths, without impacting online systems. 它也允许我们在部署期间执行广泛的优化,即潜在地扫描字节码和优化代码路径,而不会影响在线系统。
In fact, its byte code can be hard to distinguish from byte code created through Java source code, and its performance is on par with Java. 实际上,很难区分Scala的字节码和从Java源代码生成的字节码,其性能也与Java相当。
The latter three cache and optimize the byte code, providing for even greater speedups. 后三类加速器能够缓存和优化字节码,这为系统提供了更多的速度提升。
The JVM performs JIT compilation of byte code into machine code. JVM可将字节代码即时编译为机器代码。
The easiest way to incorporate a host of Groovy test cases into a build is to compile them into normal Java byte code and include them in the standard JUnit batch commands offered by Ant and Maven. 把一组Groovy测试用例整合到某一个构建中的最简单的方法是把它们编译成普通的Java字节码,然后把它们包含在Ant和Maven提供的标准的Junit批命令中。
There has been some analysis of source code versus byte code analysis and which provides the better results, but that discussion is beyond the scope of this article. 已经存在一些源代码分析与字节代码分析以及哪种分析提供更好结果的比较,但是该讨论超出了本文的范围。
We use official APIs where they exist and we complement this data with byte code instrumentation to gather deep information that enables rapid troubleshooting. 我们使用官方API并通过字节码instrumentation的方式来补充这些数据,从而获得了能够快速解决问题的深层次信息。
Jython is a Java implementation of the Python language which compiles Python source code to Java byte code which then runs in the JVM. Jython是Python语言在Java下的一个实现,它将Python源码编译成Java字节码,使之能在JVM下运行。
We use official APIs where they exist and we also use byte code instrumentation to instrument app server specific methods. 我们使用了官方API,还通过字节码instrumentation向应用服务器中插入特定的方法。
They said that Terracotta uses a non-API based byte code enhancement approach that works very well for solutions aiming for the data replication problem space. 他们说Terracotta采取了非基于API的字节码增强方式,这对于数据复制难题给出了非常好的解决方案。
ABAP is interpreted byte code with no JIT compilation, so we do in fact run an interpreter inside another interpreter. ABAP是用字节码解释的,与JIT不兼容,因此我们实际上是在一个解释器中运行这另一个解释器。
In static mode, Java source code is compiled into IL instead of Java byte code. 在静态模式下,Java源代码会被编译成IL代码而非Java字节码。
Inside the byte code, there is no concept of code blocks as such. 在字节码代码中,却没有代码作用域的概念。
This byte code level change, although a big step, does not in itself bring us to true bootstrapping because we are still left with the JDK dependencies. 推进到字节码级别虽然是前进了一大步,但并没有给我们带来真正的开端,因为我们依旧没有摆脱对JDK的依靠。
John discussed byte code transformers, which include Aspects, as one of the three types of Annotation processing options. John讨论了字节码转换,其包括Aspect,将其作为三种类型注解处理选项之一。
As byte code generated from JRuby will run in the JRE, the DSL is categorized as "internal"-which uses a general programming language to create a specific programming language. 因为由JRuby生成的字节码最终会在JRE上运行,所以这个DSL应该被视为“内部”DSL&使用一个通用编程语言来创建一个特定编程语言。
For Java they first attempted to optimistically analyze debug mode byte code, thereby removing the requirement for writing a compiler. 对于Java,他们起初很乐观的打算分析调试模式下的字节代码,因此不需要再写一个编译器。